package com.itgaoshu.service.impl;

import com.itgaoshu.bean.Jilu;
import com.itgaoshu.mapper.JiluMapper;
import com.itgaoshu.service.JiLuservice;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * \* @author: 李豪杰
 * \* Date: 2021/3/21
 * \* Time: 20:30
 * \* Description:
 * \
 */
@Service
@Transactional
public class JiLuServiceImpl implements JiLuservice {
    @Resource
    private JiluMapper jiluMapper;
    @Override
    public List<Jilu> selectAllJiLus(Jilu jilu) {
        return jiluMapper.selectAlljillus(jilu);
    }
    //增加记录
    @Override
    public int addjilu(Jilu jilu) {
        return jiluMapper.addjilu(jilu);
    }
}
